package com.lan.seriousphysics.screens.experimentos;

import java.util.ArrayList;
import java.util.List;

import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.scenes.scene2d.InputEvent;
import com.badlogic.gdx.scenes.scene2d.InputListener;
import com.badlogic.gdx.scenes.scene2d.ui.Label;
import com.badlogic.gdx.scenes.scene2d.ui.Table;
import com.badlogic.gdx.scenes.scene2d.ui.TextButton;
import com.lan.seriousphysics.SeriousPhysicsMain;
import com.lan.seriousphysics.screens.AbstractScreen;
import com.lan.seriousphysics.screens.experimentMenus.MCUScreen;
import com.lan.seriousphysics.screens.experimentMenus.MRUAScreen;
import com.lan.seriousphysics.utils.Cronometro;

public class VelocidadAngular extends AbstractScreen {

	boolean proceso = false;
	TextButton botonAccion;
	Label tiempo;
	Label angulo;
	List<Float> datos;
	Float accAnt;
	Cronometro cr;
	
	public VelocidadAngular(SeriousPhysicsMain game) {
		super(game);
		// TODO Auto-generated constructor stub
	}
	
	@Override
	public void show() {
		super.show();


		setBackground("fondo.png");
		
		previousScreen = new MCUScreen(game,"MCU");
		
		// retrieve the default table actor
		Table table = super.getTable();
		Label lTit = new Label("Prureba angulo", getSkin(), "menus");
		table.add(lTit).spaceBottom(50);
		table.row();
		Label version = new Label("v 1", getSkin(), "menus");
		table.add(version).spaceBottom(50);
		table.row();
		angulo = new Label("sin empezar", getSkin());
		table.add(angulo);

		datos = new ArrayList<Float>();
		




	}

	@Override
	public void render(float delta) {
		super.render(delta);
		//boolean crono = false;
		
		int ori = Gdx.input.getRotation();
		angulo.setText(Integer.toString(ori));


	}
	
	public void calculos()
	{
		

		
	}

}
